package com.shoe.service;

import com.github.pagehelper.PageInfo;
import com.shoe.pojo.ShoeGood;
import com.shoe.pojo.ShoeOrder;
import com.shoe.vo.ResponseResult;

import java.util.List;

public interface ShoeGoodsService {
    List<ShoeGood> selectAll();
    ResponseResult selectAll(int currPage, int pageSize);

    ShoeGood selectOne(Long goodId);

    ResponseResult selectOther(int currPage, int pageSize ,ShoeGood shoeGood);

    ShoeGood selectById(Long id);

    int addGoods(ShoeGood shoeGood);

    List<ShoeGood> selectPage(Integer page, Integer limit);

    List<ShoeGood> selectPart(ShoeGood shoeGood,String age);

    int updatepart(Long id);

}
